#ifndef ProgressDialog_First
#define ProgressDialog_First
#ifdef __GNUG__
#pragma interface
#endif

#include "Progress.h"

class ProgressDialog;
class ProgressBar;
class TextItem;

//---- ProgressImpl ------------------------------------------------------------

class ProgressImpl : public Progress {
public:
	ProgressImpl();

protected:
	~ProgressImpl();
	void DoSetUp();
	bool DoSetVal();
	void DoSetMessage(const char *message);
	void DoAbort(bool skiptoend);
	void DoEnableAbort(bool stop);

private:
	ProgressDialog *pb;
	ProgressBar *bar;
	TextItem *ti;
};

#endif

